import request from '@/utils/request';

export async function UserList(params) {
  return request('/api/User/UserList', {
    method: 'post',
    data: params,
  })
}

export async function BaseRoleList(params) {
  return request('/api/User/BaseRoleList', {
    method: 'post',
    data: params,
  })
}

export async function UserAdd(params) {
  return request('/api/User/UserAdd', {
    method: 'post',
    data: params,
  })
}

export async function UserRoleAdd(params) {
  return request('/api/User/UserRoleAdd', {
    method: 'post',
    data: params,
  })
}

export async function UserEdit(params) {
  return request('/api/User/UserEdit', {
    method: 'post',
    data: params,
  })
}

export async function UserRoleList(params) {
  return request('/api/User/UserRoleList', {
    method: 'post',
    data: params,
  })
}

export async function UserEditWithRole(params) {
  return request('/api/User/UserEditWithRole', {
    method: 'post',
    data: params,
  })
}

export async function UserDel(params) {
  return request('/api/User/UserDel', {
    method: 'post',
    data: params,
  })
}


